Vendidero\Shiptastic\SecretBox A

Total Complexity 59
Dependencies 4
Dependents 5
Total lines 358
Lines of code 224
Logical lines of code 145
Comment lines 77
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
maybe_insert_missing_key()
B
40 17 60
decrypt()
A
43 10 48
get_encryption_key_data()
S
52 5 24
get_encryption_key_notice()
S
54 5 20
encrypt()
S
56 4 17
supports_auto_insert()
S
66 3 8
supports_storing_secrets()
S
78 2 3
get_random_encryption_key()
S
67 2 7
memzero()
S
69 2 7
maybe_encrypt()
S
68 2 7
maybe_decrypt()
S
68 2 7
log_error()
S
68 2 7
get_encryption_key_constant()
S
78 1 3
has_valid_encryption_key()
S
79 1 3
has_errors()
S
78 1 3